const tencentValidate = {
    validate: {
        userDeletedErr: "用户已注销",
        notExist: "用户不存在",
        userExistErr: "用户已存在",
        validCodeErr: "验证码生成失败",
        sendMailErr: "发送邮件失败",
        sendSMSErr: "发送短信失败",
        invalidPhoneErr: "无效手机号",
        invalidEmailErr: "无效邮箱"
    },
    username: {
        checkAccountValid: '无效帐号'
    }
}

const login = {
    username:{
        "notExist": "用户名不存在"
    },
    password: {
        "pwdErr": "密码错误"
    }
}

const validCodeLogin = {
    username: {
        checkCodeErr: "验证码校验失败",
        userExistErr: "用户不存在",
        checkUserExist: "用户不存在",
        userDeletedErr: "用户已注销",
    }
}

const oAuth2Login = {
    codeOrToken: {
        userDeletedErr: "用户已注销"
    }
}

const oAuthBind = {
    username: {
        checkCodeErr: "验证码校验失败",
        openIdExist: "微信已绑定其他用户",
        userDeletedErr: "绑定用户已注销",
        bindExist: "该用户已被绑定",
    }
}

export {
    tencentValidate,
    login,
    validCodeLogin,
    oAuth2Login,
    oAuthBind
} 